import request from '@/utils/http'

// 基金分类树（事件）
export function queryFundTree(params?: any): Promise<any> {
  return request(`/api/fund/fof/event/queryFundType`, {
    method: 'get',
    params,
  })
}

// （单基）事件配置列表
export function queryFundEventConfigList(params?: any): Promise<any> {
  return request(`/api/fund/fof/event/queryFundEventConfigList`, {
    method: 'get',
    params
  })
}

// （单基）事件预值保存
export function saveFundPreVal(params?: any): Promise<any> {
  return request(`/api/fund/fof/event/saveFundPreVal`, {
    method: 'post',
    data: params
  })
}

// （单基）事件配置查询
export function queryFundEventConfig(params?: any): Promise<any> {
  return request(`/api/fund/fof/event/queryFundEventConfig`, {
    method: 'get',
    params
  })
}

// （单基）事件配置查询
export function querySelectSig(params?: any): Promise<any> {
  return request(`/api/fund/benchmark/fund/query`, {
    method: 'post',
    data:params
  })
}


